from distributed import Client
#client = Client()
#import modin.pandas as pd
import numpy as np

"""
运行方式 sudo python3 modin_dash.py
需要权限设置
"""

if __name__ == "__main__":
    client = Client()
    import modin.pandas as pd
    frame_data = np.random.randint(0, 100, size=(2**10, 2**8))
    df = pd.DataFrame(frame_data)
    #client = Client(n_workers=2)
    #import modin.pandas as pd
    #path= "var/modin"
    #modin_df = np.random.randint(0, 100, size=(2**10, 2**8))
    print('======使用Dask引擎====\n', df)

